package com.papper.common.bean.base;

import com.papper.common.annotation.InquireConfig;
import com.papper.common.bean.BaseEntity;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author:LaJiao
 * @Date:2022-03-29 10:06:49
 * @Description:工作日
 */
@Table(name = "base_const_workdate")
@InquireConfig(ts = "dateDay", te = "dateDay", sort = "date_day", order = "desc")
public class BaseConstWorkdate extends BaseEntity {

    // 自增ID
    @Id
    @GeneratedValue(generator = "JDBC")
    private Long id;

    // 工作日
    @Column(name = "date_day")
    private String dateDay;

    // 快捷工作日
    @Column(name = "t1_status")
    private Integer t1Status;

    // 普通工作日
    @Column(name = "t0_status")
    private Integer t0Status;

    // 数据状态
    @Column(name = "data_status")
    private Integer dataStatus;

    // 创建时间
    @Column(name = "create_time")
    private Date createTime;

    // 更新时间
    @Column(name = "modify_time")
    private Date modifyTime;

    /**
     * get/set
     */

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDateDay() {
        return this.dateDay;
    }

    public void setDateDay(String dateDay) {
        this.dateDay = dateDay;
    }

    public Integer getT1Status() {
        return this.t1Status;
    }

    public void setT1Status(Integer t1Status) {
        this.t1Status = t1Status;
    }

    public Integer getT0Status() {
        return this.t0Status;
    }

    public void setT0Status(Integer t0Status) {
        this.t0Status = t0Status;
    }

    public Integer getDataStatus() {
        return this.dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

}